projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
577e9a3
)
Ensure a variable is initialized
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 13 Jun 2015 21:49:20 +0000
(17:49 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 14 Jun 2015 01:10:25 +0000
(21:10 -0400)
clang complained about transient_for being used uninitialized.
gdk/wayland/gdkwindow-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkwindow-wayland.c
b/gdk/wayland/gdkwindow-wayland.c
index fded03a5187447ac46c853454f260170001f74af..4c448d70d5381ecaf28a595298d3c8d9d8bf253e 100644
(file)
--- a/
gdk/wayland/gdkwindow-wayland.c
+++ b/
gdk/wayland/gdkwindow-wayland.c
@@
-1174,7
+1174,7
@@
static void
gdk_wayland_window_map (GdkWindow *window)
{
GdkWindowImplWayland *impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);
- GdkWindow *transient_for;
+ GdkWindow *transient_for
= NULL
;
if (!should_be_mapped (window))
return;